<?php
namespace App\Payment\Dto;

use Mine\Interfaces\MineModelExcel;
use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;

/**
 * 支付配置表Dto （导入导出）
 */
#[ExcelData]
class PaymentMethodDto implements MineModelExcel
{
    #[ExcelProperty(value: "ID", index: 0)]
    public string $id;

    #[ExcelProperty(value: "支付名称", index: 1)]
    public string $title;

    #[ExcelProperty(value: "支付图标", index: 2)]
    public string $icon;

    #[ExcelProperty(value: "设备 1web 2android 3ios,4.h5", index: 3)]
    public string $device;

    #[ExcelProperty(value: "支付方式 80001支付宝 80002微信 80003云闪付 80004银行卡80005 ios", index: 4)]
    public string $method;

    #[ExcelProperty(value: "渠道名称", index: 5)]
    public string $channel_name;

    #[ExcelProperty(value: "渠道类型", index: 6)]
    public string $channel_type;

    #[ExcelProperty(value: "排序", index: 7)]
    public string $sort;

    #[ExcelProperty(value: "状态 1可用0不可用", index: 8)]
    public string $status;

    #[ExcelProperty(value: "渠道配置", index: 9)]
    public string $setting;

    #[ExcelProperty(value: "是否默认1是0否", index: 10)]
    public string $is_default;

    #[ExcelProperty(value: "支付超时时间", index: 11)]
    public string $timeout;

    #[ExcelProperty(value: "创建时间", index: 12)]
    public string $create_time;

    #[ExcelProperty(value: "更新时间", index: 13)]
    public string $update_time;

    #[ExcelProperty(value: "删除时间", index: 14)]
    public string $delete_time;

    #[ExcelProperty(value: "创建人", index: 15)]
    public string $created_by;


}